POST
https://api.applivery.io/v1/organizations/{organizationId}/oem/users
curl -X POST "https://api.applivery.io/v1/organizations/{organizationId}/oem/users" \
-H "Authorization: Bearer <YOUR_API_KEY>" \
-H "Content-Type: application/json" \
-d '{
"email": "[email protected]",
"firstName": "string",
"lastName": "string",
"tags": [
"string"
]
}'const response = await fetch("https://api.applivery.io/v1/organizations/{organizationId}/oem/users", {
method: "POST",
headers: {
Authorization: "Bearer <YOUR_API_KEY>",
"Content-Type": "application/json",
},
body: JSON.stringify({
"email": "[email protected]",
"firstName": "string",
"lastName": "string",
"tags": [
"string"
]
}),
});
const data = await response.json();import requests
response = requests.post(
"https://api.applivery.io/v1/organizations/{organizationId}/oem/users",
headers={"Authorization": "Bearer <YOUR_API_KEY>"},
json={
"email": "[email protected]",
"firstName": "string",
"lastName": "string",
"tags": [
"string"
]
},
)
data = response.json()Request
Send your API key in the request header
authorization
Example:
Authorization: Bearer <token>
organizationId
string
required
Body Params
application/json
email
string
required
firstName
string
optional
lastName
string
optional
tags
array
optional
{
"email": "[email protected]",
"firstName": "string",
"lastName": "string",
"tags": [
"string"
]
}
Responses
200 Response
application/json
status
boolean
required
data
object
required
collaborator
object
required
id
string
required
organization
string
required
role
string
required
tags
array
required
user
object
optional
detected
object
required
createdBy
string
required
updatedAt
string
required
createdAt
string
required
{
"status": true,
"data": {
"collaborator": {
"id": "string",
"organization": "string",
"role": "owner",
"tags": [
"string"
],
"user": {
"id": "string",
"email": "[email protected]",
"firstName": "string",
"lastName": "string",
"picture": "string",
"role": "user",
"ssoUser": true
},
"detected": {},
"createdBy": "string",
"updatedAt": "string",
"createdAt": "string"
}
}
}
400 Response
application/json
status
boolean
optional
error
object
optional
code
number
optional
message
string
optional
{
"status": false,
"error": {
"code": 5187,
"message": "Feature block by platform configuration"
}
}
401 Response
application/json
status
boolean
optional
error
object
optional
code
number
optional
message
string
optional
{
"status": false,
"error": {
"code": 4002,
"message": "No auth token"
}
}
403 Response
application/json
status
boolean
optional
error
object
optional
code
number
optional
message
string
optional
{
"status": false,
"error": {
"code": 4009,
"message": "The operation can not be completed at this time. If you already registered an account with this email address, try to log-in"
}
}
404 Response
application/json
status
boolean
optional
error
object
optional
code
number
optional
message
string
optional
{
"status": false,
"error": {
"code": 3001,
"message": "Entity not found"
}
}